Repository navigation
Conversation
Google Play Protect blocks the installation of a sideloaded APK that declares an accessibility service. The block message says that the application can request access to sensitive data. The only match in the manifest was AgpAccessibilityService (BIND_ACCESSIBILITY_SERVICE). The default build now has no accessibility service. Use the Gradle property -Pavg.accessibility=true to add it (Accessibility mode). - Move the service, its manifest entry and its XML configuration to app/src/accessibility. The build adds this source set to the debug and release build types only when the property is true. The output path of the APK does not change. - Add BuildConfig.ACCESSIBILITY and AccessibilityState (main source set). The service sets AccessibilityState.connected. The view model reads it, so the main code does not use the service class. - Hide Accessibility mode in the UI when the build does not have it. Stop the one-second poll of the service state in that case. - Store.backend returns Shizuku when the saved mode is Accessibility and the build does not have it. - Workflow "Build APK": add the input "Add Accessibility mode". The APK file name ends with -accessibility when it is true. - Workflow "CodeQL": build with the option, so that the service is still analyzed. - Update the README (STE100).
The buttons Start and Stop are disabled when their action is not possible. After a click, the pressed button becomes disabled and loses the focus. The focus then moved to a distant button. Add StartStopRow. A click on Start sets a pending state. When the pad starts, the focus moves to Stop. A click on Stop or Stop all moves the focus to Start when the pad stops. If the action fails, the state does not change, the focus stays, and the pending state expires after 5 seconds. The focus does not move when the state changes for another reason, for example when a pad stops by itself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prevent Google Play Protect from blocking the installation.